package com.example.demo.aip;

import javax.servlet.http.HttpServletRequest;

public interface TokenService {

    /**
     * 创建token * @return
     */
    public String createToken();

    /**
     * 检验token * @param request * @return
     */
    public boolean checkToken(HttpServletRequest request) throws Exception;

}